<template>
<!--  组建的结构-->
  <div>
    <h2 class="demo">my school : {{msg}}</h2>
    <h2 class="demo">address：{{address}}</h2>
  </div>

</template>

<script >
//交互的代码
export default {
  name:'SchoolInfo',
  data(){
    return {
      msg:'莘县第一中学',
      address:'山东聊城莘县'
    }
  }
}
</script>

<style>
/*组件的样式*/
.demo{
  background-color: #95be28;
}
</style>
